Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NH-76996 Otelcol: collecting Lambda function logs (code refactoring) #21

Merged
merged 11 commits into from
May 29, 2024

Conversation

jerrytfleung
Copy link

@jerrytfleung jerrytfleung commented May 22, 2024

  • Removed logs.go and logs_test.go and applied sharedcomponent to share the same http server with receiver.go
  • Fixed code indexing problem by putting telemetryapi code to receiver/telemetryapireceiver/internal
  • Enable WithMetrics with empty implementation so as to prepare for NH-70292

NH-76996
NH-70292

@jerrytfleung jerrytfleung changed the title metrics NH-76996 Otelcol: collecting Lambda function logs (code refactoring) May 24, 2024
@jerrytfleung jerrytfleung marked this pull request as ready for review May 24, 2024 18:56
@jerrytfleung jerrytfleung requested a review from a team May 24, 2024 18:56
Copy link

@cleverchuk cleverchuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Record map[string]any `json:"record"`
Time string `json:"time"`
Type string `json:"type"`
Record any `json:"record"`

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like we change the type because it can be something other than a map?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes.

@jerrytfleung jerrytfleung merged commit 15390d0 into swo May 29, 2024
2 checks passed
@jerrytfleung jerrytfleung deleted the NH-70492 branch May 29, 2024 20:09
jerrytfleung added a commit that referenced this pull request Jul 18, 2024
…21)

* Removed logs.go and logs_test.go and applied sharedcomponent to share the same http server with receiver.go
* Fixed code indexing problem by putting telemetryapi code to receiver/telemetryapireceiver/internal
* Enable WithMetrics with empty implementation so as to prepare for NH-70292
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants